package pers.lmd.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName article
 */
@TableName(value ="article")
@Data
public class Article implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 文章图片
     */
    @TableField(value = "image")
    private String image;

    /**
     * 内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 教工号
     */
    @TableField(value = "tid")
    private Long tid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}